package com.ihisun.tmhcms.core.service.ossservice.impl;



import com.ihisun.tmhcms.core.service.ossservice.ResourceUtilService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @author wanglai
 * @version v1.2.0
 * @description:
 * @date 2018/9/27 16:19
 */
@SuppressWarnings("ALL")
@Service
public class ResourceUtilServiceImpl implements ResourceUtilService {

    @Value("${aliyun_access_key}")
    private String aliyun_access_key;

    @Value("${aliyun_access_secret}")
    private String aliyun_access_secret;

    @Value("${aliyun_oss_endpoint_shanghai}")
    private String aliyun_oss_endpoint_shanghai;

    @Value("${aliyun_oss_input_bucket_name}")
    private String aliyun_oss_input_bucket_name;

    @Override
    public String aliyunAccessKey() {
        return aliyun_access_key;
    }

    @Override
    public String aliyunAccessSecret() {
        return aliyun_access_secret;
    }

    @Override
    public String aliyunOssEndpointShanghai() {
        return aliyun_oss_endpoint_shanghai;
    }


    @Override
    public String aliyunOssInputBucketName() {
        return aliyun_oss_input_bucket_name;
    }


}
